<!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->

<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->

<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->

<!-- BEGIN HEAD -->

<head>

	<meta charset="utf-8" />

	<title>管理中心-{:C('zyb_site_name')}</title>

	<meta content="width=device-width, initial-scale=1.0" name="viewport" />

	<meta content="" name="description" />

	<meta content="" name="author" />

	<!-- BEGIN GLOBAL MANDATORY STYLES -->

	<link href="media/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

	<link href="media/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>

	<link href="media/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

	<link href="media/css/style-metro.css" rel="stylesheet" type="text/css"/>

	<link href="media/css/style.css" rel="stylesheet" type="text/css"/>

	<link href="media/css/style-responsive.css" rel="stylesheet" type="text/css"/>

	<link href="media/css/default.css" rel="stylesheet" type="text/css" id="style_color"/>

	<link href="media/css/uniform.default.css" rel="stylesheet" type="text/css"/>

	<!-- END GLOBAL MANDATORY STYLES -->

	<!-- BEGIN PAGE LEVEL STYLES -->

	<link href="media/css/login.css" rel="stylesheet" type="text/css"/>

	<!-- END PAGE LEVEL STYLES -->

	<link rel="shortcut icon" href="media/image/favicon.ico" />
	
	<style>
	
.yzmpic {
    cursor: pointer;
    height: 35px;
    position: absolute;
    right: 0;
    top: 0;
}
	</style>
</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="login">

	<!-- BEGIN LOGO -->

	<div class="logo">

		<h3 class="form-title">管理后台</h3>

	</div>

	<!-- END LOGO -->

	<!-- BEGIN LOGIN -->

	<div class="content">

		<!-- BEGIN LOGIN FORM -->

		<form id="loginform" class="form-vertical login-form" action="{:U('index/login')}" method="post" novalidate="novalidate">
			<h3 class="form-title">登录您的账号</h3>

			<div class="alert alert-error hide">

				<button class="close" data-dismiss="alert"></button>

				<span>请输入用户名和密码.</span>

			</div>

			<div class="control-group">

				<!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->

				<label class="control-label visible-ie8 visible-ie9">账号</label>

				<div class="controls">

					<div class="input-icon left">

						<i class="icon-user"></i>

						<input class="m-wrap placeholder-no-fix" type="text" placeholder="账号" name="username"/>

					</div>

				</div>

			</div>

			<div class="control-group">

				<label class="control-label visible-ie8 visible-ie9">密码</label>

				<div class="controls">

					<div class="input-icon left">

						<i class="icon-lock"></i>

						<input class="m-wrap placeholder-no-fix" type="password" placeholder="密码" name="password"/>

					</div>

				</div>

			</div>
			
			
			<div class="control-group">

				<label class="control-label visible-ie8 visible-ie9">验证码</label>

				<div class="controls">

					<div class="input-icon left" style="position: relative;">

						<i class="icon-flickr"></i>

						<input class="m-wrap placeholder-no-fix" placeholder="验证码" name="verify_code" autocomplete="off" style="width:125px" type="text">
						
						<img onclick="getCode(this);" data-uri="{:U('index/verify_code')}" class="yzmpic" src="{:U('index/verify_code')}">
					</div>

				</div>

			</div>
			<div class="form-actions">

				<input type="hidden" name="vcode" value="{$vcode}" />
				<input type="hidden" name="btime" value="{$btime}" />
				<button type="btn" class="btn green pull-right" onclick="Jsubmit(this);" data-uri="{:U('index/login')}">
				登录
				</button>            

			</div>

		</form>


	</div>

	<!-- END LOGIN -->

	<!-- BEGIN COPYRIGHT -->

	<div class="copyright">

		2016 &copy; Admin.

	</div>

	<!-- END COPYRIGHT -->

	<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->

	<!-- BEGIN CORE PLUGINS -->

	<script src="media/js/jquery.js" type="text/javascript"></script>

	

	    

	<!-- END PAGE LEVEL SCRIPTS --> 

	

	<!-- END JAVASCRIPTS -->

<script type="text/javascript">
function Jsubmit(self) {
	
}
function getCode(self) {
	var timestamp = Date.parse(new Date());
	$(self).attr("src", $(self).attr("data-uri") + '&t=' + timestamp);
}
</script>
</body>

<!-- END BODY -->

</html>